<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微信支付</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .payment-container {
            background: #fff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 400px;
            width: 100%;
        }
        .payment-container h1 {
            color: #333;
        }
        .payment-qrcode {
            max-width: 100%;
            height: auto;
        }
        .payment-instructions {
            margin: 15px 0;
            color: #555;
        }
        .payment-button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        .payment-button:hover {
            background-color: #45a049;
        }
    </style>
    <script>
        function confirmPayment() {
            alert("支付成功!");
            window.location.href = '/bookstore/index.html';
        }
    </script>
</head>
<body>
<div class="payment-container">
    <h1>微信支付</h1>
    <img src="./images/个人收款码.jpg" alt="微信收款码" class="payment-qrcode">
    <p class="payment-instructions">
        请使用微信扫描上方二维码进行支付。
    </p>
    <button class="payment-button" onclick="confirmPayment()">完成支付</button>
</div>
</body>
</html>
